package by.alex.dzeshko.facebooksuperclient.utils;

import by.alex.dzeshko.facebooksuperclient.R;
import by.alex.dzeshko.facebooksuperclient.http.HttpManager;
import android.app.Activity;
import android.widget.Toast;

public class InetChecker {

	public static boolean checkInetConnection(Activity activity){
		if(!HttpManager.isNetworkAvailable()){
			Toast.makeText(activity, R.string.no_inet_connect, Toast.LENGTH_LONG).show();
			return false;
		} else return true;
	}
}
